package com.zhongwang.mms.module.half.dao;

import com.zhongwang.mms.gen.entity.HInventory;
import com.zhongwang.mms.module.half.model.HProjectInventoryMarkModel;
import org.springframework.stereotype.Repository;

/**********************************************
 * @title: HalfHInventoryDao
 * @description: 成本库库存管理持久层
 * @author: 徐一贺
 * @date: 2020/11/2 13:08
 * @versron: ver 1.0
 **********************************************
 */
@Repository
public interface HalfHInventoryDao {

    /**
     * @title: findHInventoryByPrimaryKey
     * @description: 根据主键获取库存信息
     * @param: [pimBeforeItyId]
     * @return: com.zhongwang.mms.gen.entity.HInventory
     * @author: 徐一贺
     * @date: 2020/11/2 13:13
     * @versron: ver 1.0
     */
    HInventory findHInventoryByPrimaryKey(Integer pimBeforeItyId);

    /**
     * @title: insertHProjectInventoryMarkBySelective
     * @description: 插入项目划库存数据
     * @param: [hProjectInventoryMarkModel]
     * @return: int
     * @author: 徐一贺
     * @date: 2020/11/2 13:30
     * @versron: ver 1.0
     */
    int insertHProjectInventoryMarkBySelective(HProjectInventoryMarkModel hProjectInventoryMarkModel);

    /**
     * @title: updateByPrimaryKeySelective
     * @description: 根据主键更新成品库库存信息
     * @param: [changeItyAnaNumModel]
     * @return: void
     * @author: 徐一贺
     * @date: 2020/11/2 13:39
     * @versron: ver 1.0
     */
    void updateByPrimaryKeySelective(HInventory changeItyAnaNumModel);
}
